package com.lagou.edu.boot.initializer;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.util.Set;

/**
 * 定义自己的WebApplicationInitializer接口
 * (spring-web包中也定义了ServletContainerInitializer的实现,故这里要自定义一个WebApplicationInitializer接口)
 */
public interface WebApplicationInitializer {

    void onStartup(ServletContext servletContext) throws ServletException;
}
